package com.jie.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Author: 杰
 * @Project :net-disk
 * @DateTime: 2024/7/3 15:36
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "公告信息")
public class NoticeVO {
    /**
     * 通知标题
     */
    @NotBlank(message = "通知标题不能为空")
    @ApiModelProperty(name = "noticeTitle", value = "公共标题", required = true, dataType = "String")
    private String noticeTitle;

    /**
     * 通知信息
     */
    @NotBlank(message = "通知信息不能为空")
    @ApiModelProperty(name = "noticeText", value = "公共内容", required = true, dataType = "String")
    private String noticeText;

    /**
     * 推送状态0：未推送，1：正在推送，2：推送成功。3推送失败
     */
    @NotBlank(message = "推送状态不能为空")
    @ApiModelProperty(name = "noticeText", value = "推送状态 0未推送，1：正在推送，2：推送成功。3推送失败", required = true, dataType = "Integer")
    private Integer pushState;

    /**
     * 是否展示
     (0是，1不）
     */

    @ApiModelProperty(name = "isShow", value = "是否展示", required = true, dataType = "Integer")
    private Integer isShow;

    /**+
     * 是否删除(0不，1删）
     */

    @ApiModelProperty(name = "isDelete", value = "是否删除", required = true, dataType = "Integer")
    private Integer isDelete;

    /**
     * 创建用户
     */
    @NotBlank(message = "创建用户不能为空")
    @ApiModelProperty(name = "createUserId", value = "是否删除", required = true, dataType = "Integer")
    private Integer createUserId;
}
